<template>
    <div>
        <van-tabbar v-model="active" route>
            <van-tabbar-item replace to="/home" icon="home-o">主页</van-tabbar-item>
            <van-tabbar-item replace to="/home2" icon="friends-o">朋友圈</van-tabbar-item>
            <van-tabbar-item replace to="/home3" icon="orders-o">发布</van-tabbar-item>
            <van-tabbar-item replace to="/home4" icon="user-circle-o">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>
<script>
export default {
    data() {
        return {
            active: 0
        }
    }
}
</script>